package com.example.week2.Retrofit;



import io.reactivex.Observable;
import retrofit2.Retrofit;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface Api{
    @FormUrlEncoded
    @POST("hornetUser/login")
    Observable<UserBean> getlogin(@Field("username")String username, @Field("user_password")String user_password);


}
